package com.smartfactory.sail.vo.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.smartfactory.sail.entity.enums.SexEnum;
import com.smartfactory.sail.entity.enums.UserAttendanceEnum;
import com.smartfactory.sail.entity.enums.UserStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: ListUserResp
 * @projectName smart-sail
 * @description: 员工列表返回对象
 * @date 2019/7/2923:16
 */
@Data
public class ListUserResp{

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "员工编码")
    @TableField("staffNo")
    private String staffNo;

    @ApiModelProperty(value = "登录账号")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    @TableField("reallyName")
    private String reallyName;

    @ApiModelProperty(value = "电话号码11位")
    private String phone;

    @ApiModelProperty(value = "手机mac地址")
    private String phonemac;

    @ApiModelProperty(value = "性别 男 女")
    private SexEnum sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "身份证号")
    private String idcard;

    @ApiModelProperty(value = "银行卡号")
    private String bank;

    @ApiModelProperty(value = "开户行")
    @TableField("openBank")
    private String openBank;

    @ApiModelProperty(value = "身份证正面照图片路径")
    @TableField("idcardUrl")
    private Long idcardUrl;

    @ApiModelProperty(value = "身份证反面照图片路径")
    @TableField("idcardBackUrl")
    private Long idcardBackUrl;

    @ApiModelProperty(value = "劳动合同及保密协议使用|隔开")
    private String imgs;

    @ApiModelProperty(value = "现居住地址")
    private String addr;

    @ApiModelProperty(value = "公司名称")
    private String company;

    @ApiModelProperty(value = "合同签订时间")
    @TableField("contractTime")
    private String contractTime;
    @ApiModelProperty(value = "到期时间")
    @TableField("contractExpireTime")
    private String contractExpireTime;

    @ApiModelProperty(value = "部门id")
    @TableField("deptId")
    private String deptName;

    @ApiModelProperty(value = "工资")
    private Double salary;

    @ApiModelProperty(value = "头像图片id")
    @TableField("headIcon")
    private Long headIcon;

    @ApiModelProperty(value = "入职时间 yyyy-MM-dd")
    private String hiredate;

    @ApiModelProperty(value = "毕业学校")
    @TableField("graduateSchool")
    private String graduateSchool;

    @ApiModelProperty(value = "教育水平")
    private String educational;

    @ApiModelProperty(value = "年假天数")
    @TableField("annualLeave")
    private Integer annualLeave;

    @ApiModelProperty(value = "所属领导Id")
    private Integer leader;

    @ApiModelProperty(value = "职级")
    private String rank;

    @ApiModelProperty(value = "岗位id")
    private String postName;

    @ApiModelProperty(value = "工种")
    @TableField("workType")
    private String workType;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "在职状态")
    private UserStatusEnum status;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("createUser")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private String createTime;

    @ApiModelProperty(value = "最后登录IP")
    @TableField("lastIp")
    private String lastIp;

    @ApiModelProperty(value = "最后登录时间yyyy-MM-dd HH:mm:ss")
    @TableField("lastTime")
    private String lastTime;

    @ApiModelProperty(value = "修改人名称")
    @TableField("updateUser")
    private String updateUser;

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    @TableField("updateTime")
    private String updateTime;

    @ApiModelProperty(value = "当前在职状态")
    @TableField("currentStatus")
    private UserAttendanceEnum currentStatus;

    @ApiModelProperty(value = "工龄")
    private String workingYears;
}
